package com.ftg.learn.chapter14;

/**
 * 大象类
 * @author KangJx
 * @date 2021/7/22
 */
public class Elephant {

    public Elephant(String name, String address) {
        this.name = name;
        this.address = address;
    }

    private String name;

    private int age;

    private String address;

    private String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
